following figure:
...
TagFlagStr = ". Ssp"
TagFlagCnt = "-4"
...
TagFlagStr indicates that the tag template source file can be preprocessed, for example, myPage. Ssp. This extension triggers tag processing. The tagFlagCnt attribute defines the number of characters ending with the file name, including ". "(XxxYyy. Ss
, and $data objects from the request, if any of these objects have been created before (for example, in the Action Class), the object will now be invisible in the resource template, or the object will be set to null.
Re-obtain the reference for the Viewresourcesconfig object, which contains the configuration parameters.
Sets the path to the template source file and the compiled
When the controller passes the control to TagActionDispatcher, some initialization triggers to set the ActionObjects and ViewResourcesConfig attributes to apply our template:
Obtain the $ form, $ errors, and $ data objects from the request. if any of these objects has been created before (for example, in the Action class ), the object will not be visible in the resource template. Otherwise, the object wil
before (for example, in the Action class ), the object will not be visible in the resource template. Otherwise, the object will be set to NULL.
Obtain the reference of the ViewResourcesConfig object again. It contains the configuration parameters.
Set the path to the template source file and the compiled template file in the ViewResourcesConfig parameter.
2. Set
Phpcmsv9 template tag tips, common methods of tag phpcmsv9 template production common code set 1. the length of the call title {str_cut ($ r [title], 36, '')} is intercepted, and the quotation marks are used to remove .... 2. #26684; normalization time call #26684; normalization Time 2011-05-0611: 22: phpcms v9
" dbsource = "dedecmsdb" num = "7" return = "data "}{Loop $ data $ R}{/Loop}{/PC}7. Call subtopics (required in the topic homepage template)
{PC: Content action = "category" catid = "$ catid" num = "25" siteid = "$ siteid" Order = "listorder ASC "}{Loop $ data $ R}{/Loop}{/PC}8. display the topic name with the specified ID (catid = 22 in this example)
{$ Categorys [22] ['catname']}9. display the article cat
Zhimeng template engine can not only parse templates, but also analyze error tags in templates.
1. the code style of the Zhimeng template engine is as follows:
{Dede: Tag name attribute = 'value '/}
{Dede: Tag name attribute = 'v
The global tag text tutorial used in the dedecms template. if this official template is too abstract, refer:
Parsing engine overview template design specification code reference
Reference: arclist (artlist, likeart, hotart, imglist, imginfolist, coolart, specart) field channel mytag vote friendlink myne
If the official template is too abstract, refer:Parsing engine overview template design specification code referenceReference: arclist (artlist, likeart, hotart, imglist, imginfolist, coolart, specart) field channel mytag vote friendlink mynews loop channelartlist page list pagelist pagebreak fieldlist--------------------------------------------------------------------------------1. Introduction to zhimeng
= ". ssp"
TagFlagCnt = "-4"
...
TagFlagStr indicates that the tag template source file can be preprocessed, for example, myPage. ssp. this extension triggers tag processing. the tagFlagCnt attribute defines the number of characters ending with the file name, including ". "(xxxYyy. ssp ). for example,-4 repre
$ data objects from the request. If any of these objects has been created before (for example, in the Action class ), the object will not be visible in the resource template. Otherwise, the object will be set to NULL.Obtain the reference of the ViewResourcesConfig object again. It contains the configuration parameters.Set the path to the template source file and the compiled
Description of the Weaver dream template tag. Before learning about the template code of DedeCms, it is very meaningful to know about the Zhimeng template engine. The Zhimeng template engine is a template parser that uses the XML
Before you know the template code for DEDECMS, it makes sense to know the knowledge of the dream templating engine. Weaving dream template engine is a template parser using XML namespace form, the biggest advantage of using the Dream Parser parsing template is that it can easily make the attributes of the
'tagactiondispatcher ':// Setup the application specific ActionDispatcher (RequestDispatcher)$ ActionDispatcher = 'tagactiondispatcher ';
Template tag system database root directory
We also need to set the path to point to our PHP. MVC Library (the absolute path of the file system is required ):// Set php. MVC library root directory (no trailing slash ).$ AppServerRootDir = 'C: \ WWW \ phpmvc-base ';
Optio
Dedecms template tag code official reference. I didn't expect dedecms to be able to do DIY like this. Niu Ah address: www. dedecms. comarchivestemplethelphelp. before learning about the DedeCms template code, I learned about the Zhimeng template engine.
Address: http://www.dedecms.com/archives/templethelp/help/
Before
I didn't think Dedecms could do this DIY, ox.
Address: http://www.dedecms.com/archives/templethelp/help/
Before you know the template code for DEDECMS, it makes sense to know the knowledge of the dream templating engine. Weaving dream template engine is a template parser using XML namespace form, the biggest advantage of using the Dream Parser parsing
Destoon template Tag Call code large collection Beginners Learn the following labels for Destoon to business-to-business systems, and are familiar with the following tabs to learn Destoon easily. 1. Global Label Site name: {$DT [sitename]} website address: {Dt_path} website logo: {if $MODULE [$moduleid][logo]}{dt_skin}image/logo_{$moduleid}.gif {ElseIf $DT [log
I didn't think Dedecms could do this DIY, ox.
Address: http://www.dedecms.com/archives/templethelp/help/
Before you know Dedecms's template code, it makes sense to understand the knowledge of a dream template engine. Dream-Weaving template engine is a template parser using the XML namespace form, the biggest benefit o
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.